package net.learn.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.learn.framework.common.page.PageResult;
import net.learn.framework.common.service.BaseService;
import net.learn.system.entity.SysVideoEntity;
import net.learn.system.query.SysVideoQuery;
import net.learn.system.vo.SysVideoVO;

import java.util.List;

/**
 * @author 李立志
 * @since 2022-04-01
 */
public interface SysVideoService extends BaseService<SysVideoEntity> {
    Boolean addVideo(SysVideoVO vo);

    Boolean updateVideo(SysVideoVO vo);

    void delete(List<Long> idList);

    PageResult<SysVideoVO> qryVideoListPage(SysVideoQuery qry);

    List<SysVideoVO> qryVideoList(SysVideoQuery qry);
}
